package com.wcar.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wcar.common.entity.User;
import com.wcar.common.vo.Result;

/**
 * @program: four-wcar-idea
 * @description:
 * @author: 吴朝阳
 * @create: 2024-05-27 16:42
 **/
public interface UserDao extends BaseMapper<User> {


    Result deleteByUserId(Integer userId);

    Result updateRole(Integer userId, Integer roleId);

}
